/**
 *
 * jq.gantt-1.0.2
 * @author Brant Liu
 * @email lbf1988@qq.com
 * @date 2020/6/22
 * @version 1.0.2
 */
(function(global, factory){
    "use strict";
    factory(global);
}(typeof window !== "undefined" ? window : this, function(window){
    "use strict";

    var config = {
        index: 20200527000
    };

    var Gantt = function(selector, options){
        this.index = ++config.index;
        this.options = $.extend({}, this.options, options);
        this.$parent = $(selector);
    };

    Gantt.fn = Gantt.prototype;

    /**
     * Gantt init
     * */
    Gantt.fn.init = function(){
        var self = this, options = self.options, $parent = self.$parent;
    };

    /**
     * Gantt options
     * */
    Gantt.fn.options = {
        start: new Date(),
        format: 'yyyy-MM-dd'
    };

    /**
     * 甘特图工具类
     * */
    var u = Gantt.utils = {

    };

    /**
     * 外部初始化接口
     * @param {String} selector 初始化元素
     * @param {Object} options  配置项
     * */
    Gantt.init = function(selector, options){
        var inst = new Gantt(selector, options);
        return inst;
    }

}));